package com.xywl.escort.view.pay.project;

import com.xywl.escort.di.ActivityScoped;
import com.xywl.escort.di.FragmentScoped;

import dagger.Binds;
import dagger.Module;
import dagger.android.ContributesAndroidInjector;

@Module
public abstract class SubscribeOrderPayDialogModule {

    @FragmentScoped
    @ContributesAndroidInjector
    abstract SubscribeOrderPayDialogActivity subscribeOrderPayDialogActivity();

    @ActivityScoped
    @Binds
    abstract SubscribeOrderPayDialogContract.Presenter subscribeOrderPayDialogPresenter(SubscribeOrderPayDialogPresenter presenter);
}
